NitroPack\Integration\Plugin\WooCommerce A

Total Complexity 51
Dependencies 1
Dependents 2
Total lines 279
Lines of code 166
Logical lines of code 100
Comment lines 86
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
update_product_from_transient()
A
53 12 21
purge_site_cache_on_sale_start_and_end()
A
52 9 24
update_cached_sale_products()
A
54 9 21
get_products_with_sale()
S
49 3 33
cache_sale_products()
S
59 4 14
init()
S
58 3 14
get_sale_dates()
S
60 3 14
uppercase_product_cat_links()
S
70 3 6
isActive()
S
71 2 6
remove_deleted_product_from_transient()
S
67 2 8
add_cache_expiration()
S
74 1 5